package router

import (
	"gitee.com/hp-huiw/family-expense-api/internal/handler"
	"github.com/gin-gonic/gin"
)

// Sets routes for map location.
func SetMapLocationRoutes(routerGroup *gin.RouterGroup) {
	h := handler.NewMapLocationHandler()

	routerGroup.GET("/query-by-coordinate", h.QueryByCoordinate)
	routerGroup.GET("/query-poi-by-keywords", h.QueryPoiByKeywords)
}
